﻿package plugin.shouchong
{
    import com.sh.game.consts.*;
    import com.sh.game.global.*;
    import view.*;

    public class Shouchong extends FlashUIBase
    {
        private var _ui:NewShouChongCtrl;

        public function Shouchong()
        {
            mDargWideRange = [89, 70, 60, 20];
            return;
        }// end function

        override protected function preLoaderInit() : void
        {
            super.preLoaderInit();
            appendLoader(Config.getUrl("assets/images/mornui/common.swf", ResourceType.NORMAL));
            appendLoader(Config.getUrl("assets/images/mornui/shouchong.swf", ResourceType.NORMAL));
            return;
        }// end function

        override protected function initGUI() : void
        {
            this._ui = new NewShouChongCtrl(close);
            mGUI = this._ui;
            return;
        }// end function

        override protected function openRefresh() : void
        {
            (mGUI as NewShouChongCtrl).openRefresh();
            return;
        }// end function

    }
}
